package com.lc.spring.study01;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SpringConfig {

    @Bean
    public Student getStudent(){
        return new Student("张惠妹",28);
    }
}
